From 3ae4dcdda2e0a7d3c41caccccfe3937db788a077 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Thu, 11 May 2006 13:45:10 +0100 Subject: [PATCH] x86/64 has the wrong number of arguments defined for HYPERVISOR_xenoprof_op. Signed-off-by: Ray Bryant --- .../include/asm-x86_64/mach-xen/asm/hypercall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h index 7364dce57e..d2e4da728c 100644 --- a/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h +++ b/linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/hypercall.h @@ -355,9 +355,9 @@ HYPERVISOR_callback_op( static inline int HYPERVISOR_xenoprof_op( - int op, unsigned long arg1, unsigned long arg2) + int op, void *arg) { - return _hypercall3(int, xenoprof_op, op, arg1, arg2); + return _hypercall2(int, xenoprof_op, op, arg); } #endif /* __HYPERCALL_H__ */ -- 2.30.2